package com.service.khqy;

import com.bpms.common.CommonUtil;
import com.bpms.common.Dict;
import com.bpms.common.VO;
import com.bpms.esb.IService;

public class Getavailable implements IService {

	public VO exec(VO arg0) {
		VO v = new VO();
		try{
			String available1=Dict.getValue("AVAILABLE","1" );
			String available2=Dict.getValue("AVAILABLE","2" );
			String available3=Dict.getValue("AVAILABLE","3" );
			v.setAttr("available1", available1);
			v.setAttr("available2", available2);
			v.setAttr("available3", available3);
			
			v.setAttr("result", "1");
			v.setAttr("msg", "获取当前状态成功");
		}catch (Exception e) {
			CommonUtil.debug("Getcontract exception", e);
			
			v.setAttr("result", "9999");
			v.setAttr("msg", "获取当前状态失败");
		}
		
		return v;
	}

}
